﻿@using WaterRevenueMS.Domain.ViewModels.Maintenance.MeterInfoSet;
@using WaterRevenueMS.Domain.ViewModels.AdminCommon


@model SearchModel
@{
    var createButton = new ButtonModel();
    createButton = ViewBag.Create;
}

<div class="widget-box">
    <div class="widget-title">
        <span class="icon"><i class="icon-search"></i></span>
        <h5>查询条件</h5>
    </div>
    <div class="widget-content nopadding">
        <form class="form-horizontal search-form" method="post" name="basic_validate" novalidate="novalidate">

            <div class="control-group">

                <div class="search-group">
                    <label class="search-label">仪表名称</label>
                    <div class="span2 search-input">
                        @Html.TextBoxFor(t => t.Yi_BMC)
                    </div>
                </div>
                <div class="search-group">
                    <label class="search-label">仪表编号</label>
                    <div class="span2 search-input">
                        @Html.TextBoxFor(t => t.Yi_BBH)
                    </div>
                </div>
                <div class="search-group">
                    <label class="search-label">用水性质</label>
                    <div class="span2 search-input">
                        @Html.DropDownListFor(t => t.Yong_SLX_No, Model.KindOfWaterUseItems)
                    </div>
                </div>
            </div>
            <div class="control-group">

                <div class="search-group">
                    <label class="search-label">中继类型</label>
                    <div class="span2 search-input">
                        @Html.DropDownListFor(t => t.Zhong_JLX_No, Model.RelayTypeItems)
                    </div>
                </div>
                <div class="search-group">
                    <label class="search-label">中继地址</label>
                    <div class="span2 search-input">
                        @Html.TextBoxFor(t => t.Zhong_JDZ)
                    </div>
                </div>
                <div class="search-group">
                    <label class="search-label">手抄器类型</label>
                    <div class="span2 search-input">
                        @Html.DropDownListFor(t => t.Shou_CQLX_No, Model.HandSetItems)
                    </div>
                </div>
            </div>
            <div class="control-group">

                <div class="search-group">
                    <label class="search-label">集中器类型</label>
                    <div class="span2 search-input">
                        @Html.DropDownListFor(t => t.Ji_ZQLX_No, Model.ConcentratorTypeItems)
                    </div>
                </div>
                <div class="search-group">
                    <label class="search-label">集中器地址</label>
                    <div class="span2 search-input">
                        @Html.TextBoxFor(t => t.Ji_ZQDZ)
                    </div>
                </div>
            </div>

            <div class="form-actions form-operate text-right ">
                <button type="button" class="btn btn-danger" onclick="ClearForm($('.search-form'));">
                    <span class="icon-bullhorn"></span> 清空
                </button>
                <button type="button" class="btn btn-success" onclick="Search()">
                    <span class="icon-search"></span> 搜索
                </button>
              
            </div>

        </form>

    </div>
</div>